package com.qqpz.sign_project.mappers;

import com.qqpz.sign_project.entity.Courses;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 吴刚
 * @project sign_project/com.qqpz.sign_project.mappers
 * @time 2021/6/28 15:28
 */
@Mapper
public interface CoursesMapper {
    public List<Courses> queryCoursesInfo();
    public List<Courses> queryByUserName(String username);
    public List<Courses> queryByNameAccurate(String name);
    public List<Courses> queryByName(String name);
    public int insertCourses(Courses courses);
    public int updateCourses(Courses courses);
    public int deleteCoursesById(String id);
    public Courses queryById(String id);
    public String queryAddress(String id);


}
